package exercise;

public class Q38_Book {
	
	private String title;
	private int allpage;
	private String writer;
	
	public Q38_Book() {
		title = "";
		allpage = 0;
		writer = "";
	}
	public Q38_Book(String title,int allpage,String writer){
		this.title = title;
		this.allpage = allpage;
		this.writer = writer;
	}
	public void setTitle(String title){
		this.title = title;
	}
	public void setAllpage(int allpage){
		this.allpage = allpage;
	}
	public void setWriter(String writer){
		this.writer = writer;
	}
	public String getTitle(){
		return title;
	}
	public int getAllpage(){
		return allpage;
	}
	public String getWriter(){
		return writer;
	}
	
	
	
	
}
